You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > Equal Method > Math387.Equal Method ([In] TCplx, [In] TCplx, [In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.Equal Method ([In] TCplx, [In] TCplx, [In] double)

Compares two numbers.

Syntax
C#
Visual Basic
public static bool Equal([In] TCplx A, [In] TCplx B, [In] double Tolerance);

true, if A and B are equal within a given Tolerance: 

(abs(A.Re - B.Re) <= Tolerance) and (abs(A.Im - B.Im) <= Tolerance)

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!